package sample2;

import com.sun.prism.paint.Color;
import javafx.application.Application;

import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.StageStyle;

public class Main2 extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception{
        Parent root = FXMLLoader.load(getClass().getResource("sample3.fxml"));
        Scene scene = new Scene(root);
//        scene.setFill(null);
//        primaryStage.initStyle(StageStyle.  TRANSPARENT);
//        primaryStage.setOpacity(0);
        primaryStage.setScene(scene);
        primaryStage.show();

    }

    public static void main(String[] args) {
        launch(args);
    }
}

